package main

import (
	"fmt"
	"github.com/shirou/gopsutil/mem"
)

func main() {
	v, _ := mem.VirtualMemory()
	fmt.Printf("Used:%v,Available:%v,Total: %v, Free:%v, UsedPercent:%f%%\n", v.Used, v.Available, v.Total, v.Free, v.UsedPercent)
}
